.detail-box{
    padding: 20px 10px 10px 10px;
    border-bottom: .5px solid #d8d8d8;
}
.detail-box p {
    font-size: 16px;
    line-height: 24px;
    color: #797f89;
}
.detail-inner{
    padding: 25px;
}
.detail-item{
    border-left: .5px solid #d8d8d8;
    position: relative;
}
.detail-item:last-child{
    /*border-left: 0;*/
}
.detail-avator{
    position: absolute;
    top:-20px;
    left: -20px;
}
.no-comment{
    text-align: center;
}
[contenteditable=true]:empty:before{
    content: attr(placeholder);
    color: #a2a4a6;
    display: block; /* For Firefox */
}
.detail-avator img{
    width: 40px;
    height: 40px;
    border-radius: 50%;
}
.detail-item-inner{
    padding: 20px 0 20px 20px;
}
.detail-time{
    font-size: 14px;
    color: #797f89;
    min-width: 70px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    text-align: center;
}
.detail-item-wrapper p {
    font-size: 14px;
    line-height: 24px;
    color: #797f89;
}
.detail-item-wrapper .item-name{
    color: #000;
    display: flex;
    justify-content: space-between;
}
p{
    margin: 0!important;
}
.fetchUser .scroll-content, .scroll {
    background: #fff;
}
/*底部*/
#ionicForm ion-footer-bar {
    padding: 0;
    border-top: 1px solid #e4e4e4;
    display: flex;
    justify-content: space-between;
}

.fetchUser .bar-footer .footer-comment {
    background: #ffff;
    text-align: center;
    font-size: 17px;
    line-height: 44px;
    width: 100%;
}

.comment-box{
    cursor: pointer;
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
}

.comment-box i{
    color: #bcbcbc;
    font-size: 16px;
    line-height: 20px;
}

.comment-box span{
    color: #888;
    font-size: 14px;
    line-height: 20px;
}
.comment-box-add{
    height: 100%;
    color: #797f89;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.comment-box-add i{
    display: inline-block;
    font-size: 16px;
    line-height: 20px;
    padding: 3px 0 0 0;
}
.comment-box-add i,.comment-box-add span {
    color: #797f89;
}
.comment-box-add span{
    font-size: 14px;
    line-height: 22px;
}
/*底部*/

/*添加评论*/
.add-inner{
    padding: 20px 10px 10px 10px;
}
.add-inner textarea{
    padding: 10px;
    border-radius: 4px;
    border: 1px solid #ccc;
    width: 100%;
}
.add-selection{
    padding: 20px 10px;
    display: flex;
}

.selection-item{
    text-align: center;
    border: 0.5px solid #d8d8d8;
    padding: 10px;
    margin-right: 10px;
    border-radius: 4px;
    cursor:pointer;
    color: #797f89;
}
.selection-item:last-child{
    margin-right: 0;
}
.img-view{
    padding: 10px;
    display: flex;
    flex-wrap: wrap;
}
.img-view-box {
    padding: 5px;
    position: relative;
}
.img-delete{
    position: absolute;
    width: 20px;
    height: 20px;
    right: 0;
    top:0;
    background-color: rgba(204,204,204,0.8);
    border-radius: 50%;
    z-index: 10;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.file-delete{
    margin-left: 10px;
    width: 20px;
    height: 20px;
    background-color: rgba(204,204,204,0.8);
    border-radius: 50%;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.img-delete i, .file-delete i {
    font-size: 14px;
    color: red;
}
.img-view-box img{
    width: 70px;
    height: 70px;
}

.file-view{
    margin-top: 10px;
    border-top: 0.5px solid #d8d8d8;
    padding: 10px;
}
.file-action{
    display: flex;
    width: 80px;
}
.file-view-action{
    border: 1px solid rgba(204,204,204,0.5);
    padding: 0 10px;
    font-size: 12px;
    color: #797f89;
    border-radius: 10px;
    cursor: pointer;
}
.file-name{
    font-size: 14px;
    color: #797f89;
    line-height: 22px;
    position: relative;
    flex:1 0 auto;
}
.item-file-icon{
    text-align: center;
}
.item-file-icon i {
    font-size: 16px;
    line-height: 19px;
}
.file-view-box{
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
}

/*消息通知*/
.msg-tip{
    padding: 10px 10px 20px 10px;
}
.msg-tip-box{
    display: flex;
    flex-wrap: wrap;
}
.tip-check{
    /*flex: 0 0 178px;*/
    flex: 0 0 85px;
    line-height: 28px;
}
.tip-check .checkbox{
    display: flex;
    padding: 0;
}
.tip-text{
    padding-left: 5px;
}
.tip-text,.tip-name{
    line-height: 28px;
}

.tip-name{
    color: #007aff;
    padding: 0 4px;
}
.add-text{
    width: 100%;
    min-height: 200px;
    border: 1px solid rgba(204,204,204,0.5);
    border-radius: 4px;
    padding: 10px;
}
.user-modify{
    -webkit-user-modify: read-write-plaintext-only !important;
    -moz-user-modify: read-write-plaintext-only !important;
}

.at-user{
    color: #007aff!important;
    font-size: 16px;
    padding-right:4px;
}

/*//附件*/
.item-attachments{}
.item-img-box{
    display: flex;
    flex-wrap: wrap;
    padding: 10px 0;
}
.item-img-list{
    padding: 10px;
}
.item-img-list img{
    width: 80px;
    height: 80px;
}
.item-file{
    width: 100%;
    display: flex;
    justify-content: space-between;
    background: #F0F2F5;
    border-radius: 4px;
    padding: 10px;
    cursor: pointer;
    margin-bottom: 10px;
}
.item-file-icon{
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right:10px;
}
.item-file-icon i{
    font-size: 24px;
}
.item-file-name{
width: 100%;
}
.item-file-name-inner{
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}
.item-file-name,.item-file-action{
    display: flex;
}
.item-file-action{
    flex-direction: column;
    justify-content: center;
}
.item-file-action span{
    background: #fff;
    border-radius: 10px;
    width: 40px;
    font-size: 12px;
    text-align: center;
}
.a-file {
    position: relative;
    display: inline-block;
    background: #D0EEFF;
    border: 1px solid #99D3F5;
    border-radius: 4px;
    padding: 10px 25px;
    margin: 10px;
    overflow: hidden;
    color: #1E88C7;
    text-decoration: none;
    text-indent: 0;
    line-height: 20px;
}
.a-file input {
    position: absolute;
    font-size: 100px;
    right: 0;
    top: 0;
    opacity: 0;
}
.a-file:hover {
    background: #AADFFD;
    border-color: #78C3F3;
    color: #004974;
    text-decoration: none;
}